package com.gientech.loancenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableFeignClients
@EnableAsync // 开启异步调用功能，即使@Async注解生效
@SpringBootApplication
@MapperScan("com.gientech.loancenter.repository")
public class LoanCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(LoanCenterApplication.class, args);
    }

}
